package com.ssm.test.model;

import com.ssm.test.dao.AbstractFactory;
import com.ssm.test.dao.Aircondition;
import com.ssm.test.dao.Engine;

import org.springframework.stereotype.Service;

@Service
public class FactoryBMW320 implements AbstractFactory{

    @Override
    public Engine createEngine() {
        // TODO 自动生成的方法存根
        return new EngineA();
    }

    @Override
    public Aircondition createAircondition() {
        // TODO 自动生成的方法存根
        return new AirconditionA();
    }

}
